const time.unixToInternal
9 uses
time (current package)
time.go#L560: unixToInternal int64 = (1969*365 + 1969/4 - 1969/100 + 1969/400) * secondsPerDay
time.go#L561: internalToUnix int64 = -unixToInternal
time.go#L564: unixToAbsolute = unixToInternal + internalToAbsolute
time.go#L784: return absSeconds(sec + (unixToInternal + internalToAbsolute))
time.go#L807: abs = absSeconds(sec + (unixToInternal + internalToAbsolute))
time.go#L1350: return Time{uint64(nsec), sec + unixToInternal, Local}
time.go#L1353: sec += unixToInternal - minWall
time.go#L1364: return Time{uint64(nsec), sec + unixToInternal, Local}
zoneinfo.go#L336: year, yday := absSeconds(sec + unixToInternal + internalToAbsolute).days().yearYday()
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |